<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/admin/login.css" />
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" />
<div class="container">
    <div class="panel-login">
        <?php
        $form = $this->beginWidget('CActiveForm', array(
            'id' => 'login-form',
            'enableClientValidation' => true,
            'clientOptions' => array(
                'validateOnSubmit' => true,
            ),
                ));
        ?>

        <div class="row">
            <div id="loginLabel">
                Masuk
            </div>
        </div>

        <div class="row">
            <div  id="label">
                <?php echo CHtml::label('Nama user', 'user', array('id' => 'test')); ?>
            </div>
            <?php echo $form->textField($model, 'username'); ?>

        </div>

        <div class="row">
            <div id="label">
                <?php echo CHtml::label('Sandi', 'password'); ?>
            </div>
            <?php echo $form->passwordField($model, 'password'); ?>


        </div>

        <div class="row rememberMe">
            <?php echo $form->checkBox($model, 'rememberMe'); ?>
            <?php echo $form->label($model, 'rememberMe'); ?>

        </div>

        <div class="row buttons">
            <?php echo CHtml::submitButton('Login', array('name' => 'masuk', 'id' => "buttonLogin")); ?>
        </div>

        <?php $this->endWidget(); ?>
    </div><!-- form -->
</div>